import * as React from "react"

import { cn } from "@/lib/utils"

function Input({ className, type, ...props }: React.ComponentProps<"input">) {
  return (
    <input
      type={type}
      data-slot="input"
      className={cn(
        "rounded-lg border-thin border-gray-300 dark:bg-white px-3 py-2 text-base focus:border-wechat focus:ring-2 focus:ring-wechat/20 transition-colors outline-none placeholder:text-gray-400 disabled:bg-gray-100 disabled:cursor-not-allowed",
        className
      )}
      {...props}
    />
  )
}

export { Input }
